package com.health.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 套餐表
 * </p>
 *
 * @author sanchuan
 * @since 2023-04-18
 */
@Getter
@Setter
@TableName("meal")
@ApiModel(value = "Meal对象", description = "套餐表")
public class Meal implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("套餐名称")
    private String name;

    @ApiModelProperty("套餐图片")
    private String avatar;

    @ApiModelProperty("机构ID")
    private String hospitalId;

    @ApiModelProperty("套餐价格")
    private Object price;

    @ApiModelProperty("套餐描述")
    private String info;

    @ApiModelProperty("套餐项目")
    private String project;

    @ApiModelProperty("预约时间")
    private String appointmentTime;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("是否删除")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty("是否上架")
    private Boolean isShelves;
}
